<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>整数反转</title>
	</head>
	<body>
		<script>
			var str='123456';
			var demo=str.split('');			
			var cc=demo.reverse();
			console.log(cc);
		</script>
	</body>
</html>
